package com.kuizii.discovery.ribbon;

import org.springframework.cloud.netflix.ribbon.DefaultServerIntrospector;

import java.util.Map;

import com.netflix.loadbalancer.Server;

public class LiteServerIntrospector extends DefaultServerIntrospector {
    @Override
    public Map<String, String> getMetadata(Server server) {
        //todo 查询服务列表
        //return server.getMetaInfo();
        return super.getMetadata(server);
    }

    @Override
    public boolean isSecure(Server server) {
        //todo

        return super.isSecure(server);
    }
}
